{include file="public/header" /}

<script src="__JS__/bootstrap/bootstrap-table-v1.18.0/bootstrap-table.js"></script>
<script src="__JS__/bootstrap/bootstrap-table-v1.18.0/locale/bootstrap-table-zh-CN.min.js"></script>
<link href="__SKIN__/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<body >

<div class="layui-fluid">
    <div class="layui-card" >


		<blockquote class="layui-elem-quote">
            帮助
        </blockquote>

      
        <div class="layui-form layui-card-header layuiadmin-card-header-auto" lay-filter="layadmin-userfront-formlist">
            <form id='searchform' role="form" method="get" class="form-inline pull-right">
             
				 
				&nbsp;&nbsp;<button  type="button" class="layui-btn" data-type="search" id="search">搜索</button>
			</form>

        </div>
		<div id="toolbar" style="padding-bottom: 10px;">
			{$toolbar}
		</div>
        <table id="listTable" class="layui-table table">
            <thead>
                <tr>
                  					
					<th data-field='name'  data-formatter='' >姓名</th>
<th data-field='sex'  data-formatter='selectlable_sex' >性别</th>
<th data-field='hiredate'  data-formatter='' >日职时间</th>
<th data-field='test_salary'  data-formatter='' >试用期工资</th>
<th data-field='official_salary'  data-formatter='' >转正后工资</th>
<th data-field='principal'  data-formatter='' >负责人</th>

					
                    <th data-field="operate">操作</th>
                </tr>
            </thead>
        </table>

    </div>



</div>

    <script type="text/javascript">

     function selectlable_sex(value, row, index) 
{ 
   var arr=[{"title":"男","value":"1"},{"title":"女","value":"0"}];
   html=""; 
   for(var i=0;i<arr.length;i++){  
      if(arr[i].value==value+"")
       { 
         html= arr[i].title; 
       }   
   } 
   return html; 
 }
 
 

      
        $(function () {
            loaddata("{$nowurl}",1,"listTable");

            $("#search").click(function (e) {
                loaddata("{$nowurl}",1,"listTable");
            });
        });
		

	
    </script>

</body>


</html>